package com.aspose.cells;

class zlu extends zk {
   public zlu(zhh var1, String var2) {
      super(var1, var2);
   }

   protected double c(double var1) {
      return var1 == 0.0D ? 0.0D : com.aspose.cells.a.c.zm.b(var1, this.c.b());
   }

   protected char[] a(char[] var1, int[] var2, int[] var3) {
      for(int var4 = 0; var4 < var1.length; ++var4) {
         if (var1[var4] == this.c()) {
            var2[1] = var4;
            var3[1] = 1;
            break;
         }
      }

      return var1;
   }

   protected void a(char[] var1, int var2, int var3, zlv var4) {
      this.c.b(-1);

      while(var2 < var3) {
         var2 = this.b(var1, var2, var3, var4);
      }

      if (this.c.c() < 0) {
         var4.a(true, var4.c().length());
      } else {
         var4.a(false, this.c.c() + 1);
      }

   }
}
